<?php
!defined('P_W') && exit('Forbidden');
require_once R_P . 'lib/framework/controller.php';
class AdminController extends Controller {
	
	function AdminController() {
		$this->__construct();
	}
	function __construct() {
		$this->_layout = $this->_getLayout(APP_VIEWER,'admin');
	}
	
	function _before() {
		parent::_before();
		$this->_viewer->baseUrl = $this->_getGlobal('basename');
		return true;
	}
	
	function run(){
		
	}
	
	function _after() {
	
	}
	
	function _output() {
		parent::_output();
		$this->_layout->display($this->_controller . '.' . $this->_action, $this->_viewer);
		afooter();
	}

}